﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace Marmat.Foundation
{
    /// <summary>
    /// 菜单
    /// </summary>
    public interface IMenu
    {
        /// <summary>
        /// 父节点名称
        /// </summary>
        string Parent { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// 文本
        /// </summary>
        string Text { get; set; }

        /// <summary>
        /// 顺序
        /// </summary>
        double Sequnce { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        string Uri { get; set; }

        /// <summary>
        /// 菜单的参数信息。
        /// </summary>
        object Argument { get; set; }
    }
}
